package com.xuxin.nantai.contract;

import com.xuxin.nantai.bean.LoginBean;
import com.xuxin.nantai.presenter.LoginPresenter;

/**
 * Created by xu_xin
 * Created on 2020.06.05 0005
 */
public interface LoginContract {

    interface Model {

        void login(LoginPresenter presenter, String user, String password);
    }

    interface View extends BaseContract.view {

        void onSuccess(LoginBean loginBean);
    }

    interface Presenter extends BaseContract.presenter {

        void login(String user, String password);

        void onSuccess(LoginBean loginBean);
    }
}